Bug 1983713 - Use non-deprecated ast value. r=firefox-build-system-reviewers,nalexand...
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 19 Aug 2025 05:08:34 +0000 (05:08 +0000)
committerMike Hommey <glandium@debian.org>
Wed, 2 Sep 2026 01:31:33 +0000 (10:31 +0900)
commitb541bb0c04944694fa47fffc645c503861cef5c7
tree6726bc0f089840b6c7d0309a0a806e1bc31a258d
parent907f134f50ffa6df7b980342bfefa912b3634173
Bug 1983713 - Use non-deprecated ast value. r=firefox-build-system-reviewers,nalexander,ahochheiden

ast.Str was deprecated in python 3.12 and removed in 3.14. It inherited
from ast.Constant, `Str.s` was equivalent to `Constant.value`, so we can
use the latter on both old and newer python versions.

Differential Revision: https://phabricator.services.mozilla.com/D261511

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1983713-Use-non-deprecated-ast-value.-r-firefox-.patch
python/mach/mach/command_util.py